* {margin: 0; padding: 0;}

html{
    font-weight:inherit;
    font-family: Tahoma, Arial, sans-serif;
    vertical-align:baseline;
    font-size: 13px;
    font-variant: inherit;
    outline: 0;
}

body {
    font: 100% Tahoma, Arial, sans-serif;
    line-height: normal;
    margin: 0; padding: 0;
    color: #000;
}


p {margin: 0 0 5px;}
img {vertical-align: middle; border: 0; max-width: 100%; height: auto;}
@media \0screen {
    img {
        width: auto; /* for ie 8 */
    }
}
.img {text-decoration: none;}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


a:hover {text-decoration: none;}


input {height: 24px; width: 420px; padding: 0 7px; border-radius: 5px; border: #c0c0c0 1px solid;}
input[type="checkbox"] {height: 24px; min-width: 24px;}
input[type="number"] {height: 24px; max-width: 84px;}
input[type="radio"] {height: 28px; width: 28px; margin: 0 3px 0 0;}
textarea {height: 100px; width: 420px; padding: 3px 7px; border-radius: 5px; border: #c0c0c0 1px solid;}
select {height: 24px; width: 316px; padding: 2px 2px; border-radius: 5px; border: #c0c0c0 1px solid;}
button {height: 28px; padding: 2px 20px;}

h2{font-size: 22px; font-weight: normal; margin: 0 0 15px; color: #272824; line-height: 22px;}


.clear {clear: both;}
.sclear {overflow: hidden;}

ul.pager {list-style: none; margin: 20px 0;}
ul.pager li {display: inline-block; margin-right: 10px;}
ul.pager li a {display: inline-block; padding: 2px 5px; font-size: 13px; line-height: 15px;}
ul.pager li.selected a {color: #000; text-decoration: none; font-size: 15px; line-height: 15px;}

#mainmenu {margin: 0 0 15px 0;}

.btn.add {display: inline-block; color: #fff; padding: 3px 15px; background: #4F9BC6; border-radius: 5px; text-decoration: none;}
.btn.add:hover {text-decoration: underline;}

.admin.list {padding: 0 15px;}
.admin.list .btn.add {margin-bottom: 25px;}
.admin.list table {width: 100%;}
.admin.list table th {background: #4F9BC6; color: #fff;}
.admin.list table tr td {background: #C9E0ED; padding: 5px 0;}
.admin.list table tr:nth-child(2n) td {background: #fff;}
.admin.list table tr:hover td {background: #C9E0ED;}
.admin.list table tr td:first-child {padding-left: 10px;}
.admin.list table tr td:last-child {padding-right: 10px; text-align: right;}


.admin.edit {padding: 0 15px; margin: 0 0 40px;}
.admin.edit .btn.add {float: right; margin: 5px 0 0 0;}

.admin.edit .lang-wrapper {float: left; width: 440px; margin: 0 15px 15px 0; border: 1px solid #C9E0ED; padding: 5px; border-radius: 5px;}
.admin.edit .lang-wrapper.end {margin-right: 0;}
.admin.edit .lang-wrapper .lang-title {margin: 0 0 10px 0; border-bottom: #C9E0ED 1px solid; padding-bottom: 5px; font-weight: bold;}

.admin.edit .item {margin: 0 0 15px;}
.admin.edit .item label {display: block; margin: 0 0 3px; color: #777;}
.admin.edit .item.btn {margin: 30px 0 20px; padding: 10px 0 0 0; border-top: #ccc 1px solid;}

.admin.edit .item label.radio {display: inline-block; width: auto; margin-right: 15px; vertical-align: middle; line-height: 27px;}
.admin.edit .item label.radio input {width: auto; min-width: inherit; line-height: 27px; height: auto; padding: 0; margin: 0; vertical-align: middle;}

.admin.edit .lang-wrapper * {max-width: 445px;}


.admin.edit.goods .properties {}
.admin.edit.goods .properties > label {font-size: 16px; margin: 0 0 5px 0; padding: 0 0 5px 0; border-bottom: #ccc 1px solid;}
.admin.edit.goods .properties .property-item {margin-bottom: 15px;}
.admin.edit.goods .properties .property-item .ptitle {font-weight: bold; margin-bottom: 5px;}
.admin.edit.goods .properties .property-item .value-item {margin-bottom: 3px;}
.admin.edit.goods .properties .property-item .value-item label {margin: 0; vertical-align: middle; line-height: 15px; display: inline-block;}
.admin.edit.goods .properties .property-item .value-item label input {margin: 0 3px 0 0; width: auto; height: auto; min-width: inherit;vertical-align: middle;}

.admin.edit.goods form {float: left; width: 400px;}
#frame {width: 480px; float: right; height: 100%; max-height: 100%;}
#frame iframe {width: 100%; height: 100%; border:none;}

.admin.order.edit .goods.list section {margin:  0 20px 20px 0; text-align: center; width: 175px; float: left;}
.admin.order.edit .goods.list section a:first-child {display: table-cell; width: 175px; height: 135px; vertical-align: middle;}
.admin.order.edit .goods.list section a:first-child img {max-width: 175px; max-height: 135px;}
.admin.order.edit .goods.list section a:last-child {font-size: 14px; text-align: center;}
.admin.order.edit .goods.list section .price {font-size: 14px; margin: 3px 0 5px 0;}
.admin.order.edit .goods.list section .info {color: grey;}
.admin.order.edit .goods.list section .info p {font-size: 12px; font-family: Arial; margin: 0 0 3px;}
.admin.order.edit .goods.list section .info p span:first-child {font-weight: bold;}

.admin.order.list th select {max-width: 110px;}
.admin.order.list td p {float: left; margin-right: 15px;}
.admin.order.list td p:last-child {float: none; clear: both; margin-top: 5px;}


.admin.new-goods {}
.admin.new-goods .urls {float: right; padding: 10px 0 0 0;}
.admin.new-goods .urls a {margin: 0 0 0 30px;}
.admin.new-goods h1 {margin: 0 0 5px; color: #000;}
.admin.new-goods h1 span:first-child {color: #777;}
.admin.new-goods .sku {font-size: 15px; color: #CCCCCC; margin: 0 0 20px;}
.admin.new-goods .content {margin: 0 0 30px;}
.admin.new-goods .sizes {margin: 0 0 30px; width: auto;}
.admin.new-goods .sizes tr th {border-right: #ccc 1px solid; max-width: 100px;}
.admin.new-goods .sizes tr td {padding: 0 10px; text-align: center;}
.admin.new-goods .sizes tr:first-child th,
.admin.new-goods .sizes tr:first-child td {border-bottom: #ccc 1px solid; font-weight: bold; background: #006600; color: #fff;}
.admin.new-goods .video iframe {max-width: 480px; max-height: 280px;}


.upload-video {}
.upload-video .ivideo {display: inline-block; margin: 0 20px 20px 0; position: relative; min-height: 50px; min-width: 50px;}
.upload-video .ivideo.template {display: none}
.upload-video .ivideo textarea {height: 50px;}
.upload-video .ivideo > a {display: inline-block;width: 21px;height: 21px;position: absolute;right: -10px;top: -10px;background: url(/img/delete-img.png) no-repeat center center;z-index: 3;}